package net.goutalk.glcs.module.language.service;

import net.goutalk.glcs.module.language.dto.AddOrUpdateLanguageDto;
import net.goutalk.glcs.module.language.entity.Language;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 语言翻译表 服务类
 * </p>
 *
 * @author tanyujie
 * @since 2022-10-09
 */
public interface ILanguageService extends IService<Language> {

    boolean add(List<AddOrUpdateLanguageDto> dto);

    boolean update(List<AddOrUpdateLanguageDto> dto);

    List<Map<String,Object>> page(String keywords);

    Map<String, Map<String,String>> main();

}
